package com.dengyuanke.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dengyuanke.common.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author dengyuanke
 * @since 2017-11-13
 */
@ApiModel("医生实体")
@TableName("tb_doctor")
public class Doctor extends SuperEntity<Doctor> {

    private static final long serialVersionUID = 1L;

    /**
     * 医生名字
     */
    @ApiModelProperty("医生名字")
	private String name;
    /**
     * 医院id
     */
	@ApiModelProperty("医院id")
	@TableField("hospital_id")
	private String hospitalId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(String hospitalId) {
		this.hospitalId = hospitalId;
	}

	@Override
	public String toString() {
		return "Doctor{" +
				"name='" + name + '\'' +
				", hospitalId='" + hospitalId + '\'' +
				'}';
	}
}
